package com.jyh.dbOrder.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class JyhMoneyCostLogExample {
    /**
     * jyh_money_cost_log
     */
    protected String orderByClause;

    /**
     * jyh_money_cost_log
     */
    protected boolean distinct;

    /**
     * jyh_money_cost_log
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public JyhMoneyCostLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * jyh_money_cost_log 2017-10-16
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDaytimeIsNull() {
            addCriterion("dayTime is null");
            return (Criteria) this;
        }

        public Criteria andDaytimeIsNotNull() {
            addCriterion("dayTime is not null");
            return (Criteria) this;
        }

        public Criteria andDaytimeEqualTo(String value) {
            addCriterion("dayTime =", value, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeNotEqualTo(String value) {
            addCriterion("dayTime <>", value, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeGreaterThan(String value) {
            addCriterion("dayTime >", value, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeGreaterThanOrEqualTo(String value) {
            addCriterion("dayTime >=", value, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeLessThan(String value) {
            addCriterion("dayTime <", value, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeLessThanOrEqualTo(String value) {
            addCriterion("dayTime <=", value, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeLike(String value) {
            addCriterion("dayTime like", value, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeNotLike(String value) {
            addCriterion("dayTime not like", value, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeIn(List<String> values) {
            addCriterion("dayTime in", values, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeNotIn(List<String> values) {
            addCriterion("dayTime not in", values, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeBetween(String value1, String value2) {
            addCriterion("dayTime between", value1, value2, "daytime");
            return (Criteria) this;
        }

        public Criteria andDaytimeNotBetween(String value1, String value2) {
            addCriterion("dayTime not between", value1, value2, "daytime");
            return (Criteria) this;
        }

        public Criteria andMsgIsNull() {
            addCriterion("msg is null");
            return (Criteria) this;
        }

        public Criteria andMsgIsNotNull() {
            addCriterion("msg is not null");
            return (Criteria) this;
        }

        public Criteria andMsgEqualTo(Integer value) {
            addCriterion("msg =", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotEqualTo(Integer value) {
            addCriterion("msg <>", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgGreaterThan(Integer value) {
            addCriterion("msg >", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgGreaterThanOrEqualTo(Integer value) {
            addCriterion("msg >=", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgLessThan(Integer value) {
            addCriterion("msg <", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgLessThanOrEqualTo(Integer value) {
            addCriterion("msg <=", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgIn(List<Integer> values) {
            addCriterion("msg in", values, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotIn(List<Integer> values) {
            addCriterion("msg not in", values, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgBetween(Integer value1, Integer value2) {
            addCriterion("msg between", value1, value2, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotBetween(Integer value1, Integer value2) {
            addCriterion("msg not between", value1, value2, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyIsNull() {
            addCriterion("msgMoney is null");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyIsNotNull() {
            addCriterion("msgMoney is not null");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyEqualTo(BigDecimal value) {
            addCriterion("msgMoney =", value, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyNotEqualTo(BigDecimal value) {
            addCriterion("msgMoney <>", value, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyGreaterThan(BigDecimal value) {
            addCriterion("msgMoney >", value, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("msgMoney >=", value, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyLessThan(BigDecimal value) {
            addCriterion("msgMoney <", value, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("msgMoney <=", value, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyIn(List<BigDecimal> values) {
            addCriterion("msgMoney in", values, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyNotIn(List<BigDecimal> values) {
            addCriterion("msgMoney not in", values, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("msgMoney between", value1, value2, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andMsgmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("msgMoney not between", value1, value2, "msgmoney");
            return (Criteria) this;
        }

        public Criteria andFaceIsNull() {
            addCriterion("face is null");
            return (Criteria) this;
        }

        public Criteria andFaceIsNotNull() {
            addCriterion("face is not null");
            return (Criteria) this;
        }

        public Criteria andFaceEqualTo(Integer value) {
            addCriterion("face =", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceNotEqualTo(Integer value) {
            addCriterion("face <>", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceGreaterThan(Integer value) {
            addCriterion("face >", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceGreaterThanOrEqualTo(Integer value) {
            addCriterion("face >=", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceLessThan(Integer value) {
            addCriterion("face <", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceLessThanOrEqualTo(Integer value) {
            addCriterion("face <=", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceIn(List<Integer> values) {
            addCriterion("face in", values, "face");
            return (Criteria) this;
        }

        public Criteria andFaceNotIn(List<Integer> values) {
            addCriterion("face not in", values, "face");
            return (Criteria) this;
        }

        public Criteria andFaceBetween(Integer value1, Integer value2) {
            addCriterion("face between", value1, value2, "face");
            return (Criteria) this;
        }

        public Criteria andFaceNotBetween(Integer value1, Integer value2) {
            addCriterion("face not between", value1, value2, "face");
            return (Criteria) this;
        }

        public Criteria andFacemoneyIsNull() {
            addCriterion("faceMoney is null");
            return (Criteria) this;
        }

        public Criteria andFacemoneyIsNotNull() {
            addCriterion("faceMoney is not null");
            return (Criteria) this;
        }

        public Criteria andFacemoneyEqualTo(BigDecimal value) {
            addCriterion("faceMoney =", value, "facemoney");
            return (Criteria) this;
        }

        public Criteria andFacemoneyNotEqualTo(BigDecimal value) {
            addCriterion("faceMoney <>", value, "facemoney");
            return (Criteria) this;
        }

        public Criteria andFacemoneyGreaterThan(BigDecimal value) {
            addCriterion("faceMoney >", value, "facemoney");
            return (Criteria) this;
        }

        public Criteria andFacemoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("faceMoney >=", value, "facemoney");
            return (Criteria) this;
        }

        public Criteria andFacemoneyLessThan(BigDecimal value) {
            addCriterion("faceMoney <", value, "facemoney");
            return (Criteria) this;
        }

        public Criteria andFacemoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("faceMoney <=", value, "facemoney");
            return (Criteria) this;
        }

        public Criteria andFacemoneyIn(List<BigDecimal> values) {
            addCriterion("faceMoney in", values, "facemoney");
            return (Criteria) this;
        }

        public Criteria andFacemoneyNotIn(List<BigDecimal> values) {
            addCriterion("faceMoney not in", values, "facemoney");
            return (Criteria) this;
        }

        public Criteria andFacemoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("faceMoney between", value1, value2, "facemoney");
            return (Criteria) this;
        }

        public Criteria andFacemoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("faceMoney not between", value1, value2, "facemoney");
            return (Criteria) this;
        }

        public Criteria andRiskIsNull() {
            addCriterion("risk is null");
            return (Criteria) this;
        }

        public Criteria andRiskIsNotNull() {
            addCriterion("risk is not null");
            return (Criteria) this;
        }

        public Criteria andRiskEqualTo(Integer value) {
            addCriterion("risk =", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskNotEqualTo(Integer value) {
            addCriterion("risk <>", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskGreaterThan(Integer value) {
            addCriterion("risk >", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskGreaterThanOrEqualTo(Integer value) {
            addCriterion("risk >=", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskLessThan(Integer value) {
            addCriterion("risk <", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskLessThanOrEqualTo(Integer value) {
            addCriterion("risk <=", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskIn(List<Integer> values) {
            addCriterion("risk in", values, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskNotIn(List<Integer> values) {
            addCriterion("risk not in", values, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskBetween(Integer value1, Integer value2) {
            addCriterion("risk between", value1, value2, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskNotBetween(Integer value1, Integer value2) {
            addCriterion("risk not between", value1, value2, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyIsNull() {
            addCriterion("riskMoney is null");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyIsNotNull() {
            addCriterion("riskMoney is not null");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyEqualTo(BigDecimal value) {
            addCriterion("riskMoney =", value, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyNotEqualTo(BigDecimal value) {
            addCriterion("riskMoney <>", value, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyGreaterThan(BigDecimal value) {
            addCriterion("riskMoney >", value, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("riskMoney >=", value, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyLessThan(BigDecimal value) {
            addCriterion("riskMoney <", value, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("riskMoney <=", value, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyIn(List<BigDecimal> values) {
            addCriterion("riskMoney in", values, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyNotIn(List<BigDecimal> values) {
            addCriterion("riskMoney not in", values, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("riskMoney between", value1, value2, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andRiskmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("riskMoney not between", value1, value2, "riskmoney");
            return (Criteria) this;
        }

        public Criteria andWithdrawalIsNull() {
            addCriterion("withdrawal is null");
            return (Criteria) this;
        }

        public Criteria andWithdrawalIsNotNull() {
            addCriterion("withdrawal is not null");
            return (Criteria) this;
        }

        public Criteria andWithdrawalEqualTo(Integer value) {
            addCriterion("withdrawal =", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalNotEqualTo(Integer value) {
            addCriterion("withdrawal <>", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalGreaterThan(Integer value) {
            addCriterion("withdrawal >", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalGreaterThanOrEqualTo(Integer value) {
            addCriterion("withdrawal >=", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalLessThan(Integer value) {
            addCriterion("withdrawal <", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalLessThanOrEqualTo(Integer value) {
            addCriterion("withdrawal <=", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalIn(List<Integer> values) {
            addCriterion("withdrawal in", values, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalNotIn(List<Integer> values) {
            addCriterion("withdrawal not in", values, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalBetween(Integer value1, Integer value2) {
            addCriterion("withdrawal between", value1, value2, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalNotBetween(Integer value1, Integer value2) {
            addCriterion("withdrawal not between", value1, value2, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithmoneyIsNull() {
            addCriterion("withMoney is null");
            return (Criteria) this;
        }

        public Criteria andWithmoneyIsNotNull() {
            addCriterion("withMoney is not null");
            return (Criteria) this;
        }

        public Criteria andWithmoneyEqualTo(BigDecimal value) {
            addCriterion("withMoney =", value, "withmoney");
            return (Criteria) this;
        }

        public Criteria andWithmoneyNotEqualTo(BigDecimal value) {
            addCriterion("withMoney <>", value, "withmoney");
            return (Criteria) this;
        }

        public Criteria andWithmoneyGreaterThan(BigDecimal value) {
            addCriterion("withMoney >", value, "withmoney");
            return (Criteria) this;
        }

        public Criteria andWithmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("withMoney >=", value, "withmoney");
            return (Criteria) this;
        }

        public Criteria andWithmoneyLessThan(BigDecimal value) {
            addCriterion("withMoney <", value, "withmoney");
            return (Criteria) this;
        }

        public Criteria andWithmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("withMoney <=", value, "withmoney");
            return (Criteria) this;
        }

        public Criteria andWithmoneyIn(List<BigDecimal> values) {
            addCriterion("withMoney in", values, "withmoney");
            return (Criteria) this;
        }

        public Criteria andWithmoneyNotIn(List<BigDecimal> values) {
            addCriterion("withMoney not in", values, "withmoney");
            return (Criteria) this;
        }

        public Criteria andWithmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withMoney between", value1, value2, "withmoney");
            return (Criteria) this;
        }

        public Criteria andWithmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withMoney not between", value1, value2, "withmoney");
            return (Criteria) this;
        }

        public Criteria andRechargeIsNull() {
            addCriterion("recharge is null");
            return (Criteria) this;
        }

        public Criteria andRechargeIsNotNull() {
            addCriterion("recharge is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeEqualTo(Integer value) {
            addCriterion("recharge =", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotEqualTo(Integer value) {
            addCriterion("recharge <>", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeGreaterThan(Integer value) {
            addCriterion("recharge >", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeGreaterThanOrEqualTo(Integer value) {
            addCriterion("recharge >=", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeLessThan(Integer value) {
            addCriterion("recharge <", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeLessThanOrEqualTo(Integer value) {
            addCriterion("recharge <=", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeIn(List<Integer> values) {
            addCriterion("recharge in", values, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotIn(List<Integer> values) {
            addCriterion("recharge not in", values, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeBetween(Integer value1, Integer value2) {
            addCriterion("recharge between", value1, value2, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotBetween(Integer value1, Integer value2) {
            addCriterion("recharge not between", value1, value2, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechmoneyIsNull() {
            addCriterion("rechMoney is null");
            return (Criteria) this;
        }

        public Criteria andRechmoneyIsNotNull() {
            addCriterion("rechMoney is not null");
            return (Criteria) this;
        }

        public Criteria andRechmoneyEqualTo(BigDecimal value) {
            addCriterion("rechMoney =", value, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andRechmoneyNotEqualTo(BigDecimal value) {
            addCriterion("rechMoney <>", value, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andRechmoneyGreaterThan(BigDecimal value) {
            addCriterion("rechMoney >", value, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andRechmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("rechMoney >=", value, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andRechmoneyLessThan(BigDecimal value) {
            addCriterion("rechMoney <", value, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andRechmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("rechMoney <=", value, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andRechmoneyIn(List<BigDecimal> values) {
            addCriterion("rechMoney in", values, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andRechmoneyNotIn(List<BigDecimal> values) {
            addCriterion("rechMoney not in", values, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andRechmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rechMoney between", value1, value2, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andRechmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rechMoney not between", value1, value2, "rechmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdIsNull() {
            addCriterion("withhold is null");
            return (Criteria) this;
        }

        public Criteria andWithholdIsNotNull() {
            addCriterion("withhold is not null");
            return (Criteria) this;
        }

        public Criteria andWithholdEqualTo(Integer value) {
            addCriterion("withhold =", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdNotEqualTo(Integer value) {
            addCriterion("withhold <>", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdGreaterThan(Integer value) {
            addCriterion("withhold >", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdGreaterThanOrEqualTo(Integer value) {
            addCriterion("withhold >=", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdLessThan(Integer value) {
            addCriterion("withhold <", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdLessThanOrEqualTo(Integer value) {
            addCriterion("withhold <=", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdIn(List<Integer> values) {
            addCriterion("withhold in", values, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdNotIn(List<Integer> values) {
            addCriterion("withhold not in", values, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdBetween(Integer value1, Integer value2) {
            addCriterion("withhold between", value1, value2, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdNotBetween(Integer value1, Integer value2) {
            addCriterion("withhold not between", value1, value2, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyIsNull() {
            addCriterion("withholdMoney is null");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyIsNotNull() {
            addCriterion("withholdMoney is not null");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyEqualTo(BigDecimal value) {
            addCriterion("withholdMoney =", value, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyNotEqualTo(BigDecimal value) {
            addCriterion("withholdMoney <>", value, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyGreaterThan(BigDecimal value) {
            addCriterion("withholdMoney >", value, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("withholdMoney >=", value, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyLessThan(BigDecimal value) {
            addCriterion("withholdMoney <", value, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("withholdMoney <=", value, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyIn(List<BigDecimal> values) {
            addCriterion("withholdMoney in", values, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyNotIn(List<BigDecimal> values) {
            addCriterion("withholdMoney not in", values, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withholdMoney between", value1, value2, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andWithholdmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withholdMoney not between", value1, value2, "withholdmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudIsNull() {
            addCriterion("shAntiFraud is null");
            return (Criteria) this;
        }

        public Criteria andShantifraudIsNotNull() {
            addCriterion("shAntiFraud is not null");
            return (Criteria) this;
        }

        public Criteria andShantifraudEqualTo(Integer value) {
            addCriterion("shAntiFraud =", value, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudNotEqualTo(Integer value) {
            addCriterion("shAntiFraud <>", value, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudGreaterThan(Integer value) {
            addCriterion("shAntiFraud >", value, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudGreaterThanOrEqualTo(Integer value) {
            addCriterion("shAntiFraud >=", value, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudLessThan(Integer value) {
            addCriterion("shAntiFraud <", value, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudLessThanOrEqualTo(Integer value) {
            addCriterion("shAntiFraud <=", value, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudIn(List<Integer> values) {
            addCriterion("shAntiFraud in", values, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudNotIn(List<Integer> values) {
            addCriterion("shAntiFraud not in", values, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudBetween(Integer value1, Integer value2) {
            addCriterion("shAntiFraud between", value1, value2, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudNotBetween(Integer value1, Integer value2) {
            addCriterion("shAntiFraud not between", value1, value2, "shantifraud");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyIsNull() {
            addCriterion("shAntiFraudMoney is null");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyIsNotNull() {
            addCriterion("shAntiFraudMoney is not null");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyEqualTo(BigDecimal value) {
            addCriterion("shAntiFraudMoney =", value, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyNotEqualTo(BigDecimal value) {
            addCriterion("shAntiFraudMoney <>", value, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyGreaterThan(BigDecimal value) {
            addCriterion("shAntiFraudMoney >", value, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("shAntiFraudMoney >=", value, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyLessThan(BigDecimal value) {
            addCriterion("shAntiFraudMoney <", value, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("shAntiFraudMoney <=", value, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyIn(List<BigDecimal> values) {
            addCriterion("shAntiFraudMoney in", values, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyNotIn(List<BigDecimal> values) {
            addCriterion("shAntiFraudMoney not in", values, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shAntiFraudMoney between", value1, value2, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShantifraudmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shAntiFraudMoney not between", value1, value2, "shantifraudmoney");
            return (Criteria) this;
        }

        public Criteria andShoperatorIsNull() {
            addCriterion("shOperator is null");
            return (Criteria) this;
        }

        public Criteria andShoperatorIsNotNull() {
            addCriterion("shOperator is not null");
            return (Criteria) this;
        }

        public Criteria andShoperatorEqualTo(Integer value) {
            addCriterion("shOperator =", value, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatorNotEqualTo(Integer value) {
            addCriterion("shOperator <>", value, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatorGreaterThan(Integer value) {
            addCriterion("shOperator >", value, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatorGreaterThanOrEqualTo(Integer value) {
            addCriterion("shOperator >=", value, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatorLessThan(Integer value) {
            addCriterion("shOperator <", value, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatorLessThanOrEqualTo(Integer value) {
            addCriterion("shOperator <=", value, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatorIn(List<Integer> values) {
            addCriterion("shOperator in", values, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatorNotIn(List<Integer> values) {
            addCriterion("shOperator not in", values, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatorBetween(Integer value1, Integer value2) {
            addCriterion("shOperator between", value1, value2, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatorNotBetween(Integer value1, Integer value2) {
            addCriterion("shOperator not between", value1, value2, "shoperator");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyIsNull() {
            addCriterion("shOperatorMoney is null");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyIsNotNull() {
            addCriterion("shOperatorMoney is not null");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyEqualTo(BigDecimal value) {
            addCriterion("shOperatorMoney =", value, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyNotEqualTo(BigDecimal value) {
            addCriterion("shOperatorMoney <>", value, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyGreaterThan(BigDecimal value) {
            addCriterion("shOperatorMoney >", value, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("shOperatorMoney >=", value, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyLessThan(BigDecimal value) {
            addCriterion("shOperatorMoney <", value, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("shOperatorMoney <=", value, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyIn(List<BigDecimal> values) {
            addCriterion("shOperatorMoney in", values, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyNotIn(List<BigDecimal> values) {
            addCriterion("shOperatorMoney not in", values, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shOperatorMoney between", value1, value2, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShoperatormoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shOperatorMoney not between", value1, value2, "shoperatormoney");
            return (Criteria) this;
        }

        public Criteria andShbadIsNull() {
            addCriterion("shBad is null");
            return (Criteria) this;
        }

        public Criteria andShbadIsNotNull() {
            addCriterion("shBad is not null");
            return (Criteria) this;
        }

        public Criteria andShbadEqualTo(Integer value) {
            addCriterion("shBad =", value, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadNotEqualTo(Integer value) {
            addCriterion("shBad <>", value, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadGreaterThan(Integer value) {
            addCriterion("shBad >", value, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadGreaterThanOrEqualTo(Integer value) {
            addCriterion("shBad >=", value, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadLessThan(Integer value) {
            addCriterion("shBad <", value, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadLessThanOrEqualTo(Integer value) {
            addCriterion("shBad <=", value, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadIn(List<Integer> values) {
            addCriterion("shBad in", values, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadNotIn(List<Integer> values) {
            addCriterion("shBad not in", values, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadBetween(Integer value1, Integer value2) {
            addCriterion("shBad between", value1, value2, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadNotBetween(Integer value1, Integer value2) {
            addCriterion("shBad not between", value1, value2, "shbad");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyIsNull() {
            addCriterion("shBadMoney is null");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyIsNotNull() {
            addCriterion("shBadMoney is not null");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyEqualTo(BigDecimal value) {
            addCriterion("shBadMoney =", value, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyNotEqualTo(BigDecimal value) {
            addCriterion("shBadMoney <>", value, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyGreaterThan(BigDecimal value) {
            addCriterion("shBadMoney >", value, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("shBadMoney >=", value, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyLessThan(BigDecimal value) {
            addCriterion("shBadMoney <", value, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("shBadMoney <=", value, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyIn(List<BigDecimal> values) {
            addCriterion("shBadMoney in", values, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyNotIn(List<BigDecimal> values) {
            addCriterion("shBadMoney not in", values, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shBadMoney between", value1, value2, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andShbadmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shBadMoney not between", value1, value2, "shbadmoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyIsNull() {
            addCriterion("sumMoney is null");
            return (Criteria) this;
        }

        public Criteria andSummoneyIsNotNull() {
            addCriterion("sumMoney is not null");
            return (Criteria) this;
        }

        public Criteria andSummoneyEqualTo(BigDecimal value) {
            addCriterion("sumMoney =", value, "summoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyNotEqualTo(BigDecimal value) {
            addCriterion("sumMoney <>", value, "summoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyGreaterThan(BigDecimal value) {
            addCriterion("sumMoney >", value, "summoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sumMoney >=", value, "summoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyLessThan(BigDecimal value) {
            addCriterion("sumMoney <", value, "summoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sumMoney <=", value, "summoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyIn(List<BigDecimal> values) {
            addCriterion("sumMoney in", values, "summoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyNotIn(List<BigDecimal> values) {
            addCriterion("sumMoney not in", values, "summoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sumMoney between", value1, value2, "summoney");
            return (Criteria) this;
        }

        public Criteria andSummoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sumMoney not between", value1, value2, "summoney");
            return (Criteria) this;
        }
    }

    /**
     * jyh_money_cost_log
     *
     * @mbggenerated do_not_delete_during_merge 2017-10-16
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * jyh_money_cost_log 2017-10-16
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}